gtk4.git
22 years agoNew ::map() handler. If no widget has the focus, try to give it to the
Federico Mena Quintero [Wed, 11 Feb 2004 20:25:18 +0000 (20:25 +0000)]
New ::map() handler. If no widget has the focus, try to give it to the

2004-02-11  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkmessagedialog.c (gtk_message_dialog_map): New ::map()
handler.  If no widget has the focus, try to give it to the
default widget.  If there is no default widget, give it to the
first button.  Fixes the cause for which #59707 was reopened.

22 years agoUpdated German translation.
Christian Neumair [Wed, 11 Feb 2004 17:41:27 +0000 (17:41 +0000)]
Updated German translation.

22 years agoFixes #134051.
Federico Mena Quintero [Wed, 11 Feb 2004 16:54:47 +0000 (16:54 +0000)]
Fixes #134051.

2004-02-11  Federico Mena Quintero  <federico@ximian.com>

Fixes #134051.

* gtk/gtkicontheme.c (struct _GtkIconInfo): Remove the ref_count field.
(icon_info_new): Don't initialize the ref_count field.

22 years agoShift the array correctly. Fixes #134055, patch by Tosten Schoenfeld
Federico Mena Quintero [Wed, 11 Feb 2004 16:28:22 +0000 (16:28 +0000)]
Shift the array correctly. Fixes #134055, patch by Tosten Schoenfeld

2004-02-11  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkicontheme.c (gtk_icon_theme_prepend_search_path): Shift
the array correctly.  Fixes #134055, patch by Tosten Schoenfeld
<kaffeetisch@gmx.de>.

22 years agoHandle focus [hv]adjustment correctly when the focus is located deeper
Matthias Clasen [Wed, 11 Feb 2004 01:21:14 +0000 (01:21 +0000)]
Handle focus [hv]adjustment correctly when the focus is located deeper

Wed Feb 11 02:23:39 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcontainer.c (gtk_container_real_set_focus_child): Handle
focus [hv]adjustment correctly when the focus is located deeper
down in the hierarchy.  (#133489)

22 years agoRemove arbitrary low upper limits on the xpad, ypad, width and height
Matthias Clasen [Wed, 11 Feb 2004 01:09:25 +0000 (01:09 +0000)]
Remove arbitrary low upper limits on the xpad, ypad, width and height

Wed Feb 11 02:06:38 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Remove
arbitrary low upper limits on the xpad, ypad, width and height
properties.  (#129696, John Ellis)

Wed Feb 11 01:24:20 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_clear_attributes):
Ugh. Don't try to free ints, even if they're stored in pointers.
(#133997, Morten Welinder)

22 years agoUpdated Finnish translation.
Pauli Virtanen [Tue, 10 Feb 2004 23:15:29 +0000 (23:15 +0000)]
Updated Finnish translation.

2004-02-10  Pauli Virtanen  <pauli.virtanen@hut.fi>

* fi.po: Updated Finnish translation.

22 years agoFree the filters. Fixes #133547, patch by Morten Welinder
Federico Mena Quintero [Tue, 10 Feb 2004 19:48:38 +0000 (19:48 +0000)]
Free the filters. Fixes #133547, patch by Morten Welinder

2004-02-10  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
Free the filters.  Fixes #133547, patch by Morten Welinder
<mortenw@gnome.org>.

22 years agoAvoid triggering an X error when the client->manager_window is
Owen Taylor [Tue, 10 Feb 2004 18:51:19 +0000 (18:51 +0000)]
Avoid triggering an X error when the client->manager_window is

Tue Feb 10 12:02:14 2004  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/xsettings-client.c (read_settings): Avoid
        triggering an X error when the client->manager_window
        is None...makes logs look cleaner.

        * gdk/x11/gdkproperty-x11.c (gdk_property_get): Handle
        GDK_NONE to mean AnyPropertyType as documented. (Reported
        by Yu Shao)

        * gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window,
        gdk_x11_screen_get_window_manager_name): Fix error trap
        we've been leaking since 2002... (#129538)

22 years agoFixes the entry-related part of #133852.
Federico Mena Quintero [Tue, 10 Feb 2004 18:29:11 +0000 (18:29 +0000)]
Fixes the entry-related part of #133852.

2004-02-10  Federico Mena Quintero  <federico@ximian.com>

Fixes the entry-related part of #133852.

* gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't change
the file part of the entry if the selected item is a folder.

22 years agoFixes #133995, patch by Morten Welinder <mortenw@gnome.org>.
Federico Mena Quintero [Tue, 10 Feb 2004 17:49:14 +0000 (17:49 +0000)]
Fixes #133995, patch by Morten Welinder <mortenw@gnome.org>.

2004-02-10  Federico Mena Quintero  <federico@ximian.com>

Fixes #133995, patch by Morten Welinder <mortenw@gnome.org>.

* tests/prop-editor.c (create_prop_editor): Free the title.
(object_changed): Free the children list.

22 years agoDocument these functions.
Matthias Clasen [Tue, 10 Feb 2004 01:04:35 +0000 (01:04 +0000)]
Document these functions.

Tue Feb 10 01:58:55 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcontainer.c (gtk_container_set_focus_hadjustment):
* gtk/gtkcontainer.c (gtk_container_set_focus_vadjustment): Document
these functions.

22 years agoupdated translation, changed translation to 'radio' from 'rádio' to
Gustavo Noronha Silva [Tue, 10 Feb 2004 00:01:32 +0000 (00:01 +0000)]
updated translation, changed translation to 'radio' from 'rádio' to

2004-02-09  Gustavo Noronha Silva  <kov@debian.org>

* pt_BR.po: updated translation, changed
  translation to 'radio' from 'rádio' to
  'seleção', to be consistent with glade-2's
  translation.

22 years agoRequest GTK_FILE_INFO_ALL from the file system model, so that arbitrary
Federico Mena Quintero [Mon, 9 Feb 2004 21:58:26 +0000 (21:58 +0000)]
Request GTK_FILE_INFO_ALL from the file system model, so that arbitrary

2004-02-09  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (set_list_model): Request
GTK_FILE_INFO_ALL from the file system model, so that arbitrary
filtering will work.  Perhaps we should have a way of aggregating
info types to the model as filters get installed.

22 years agoUgh. Don't try to free ints, even if they're stored in pointers.
Matthias Clasen [Mon, 9 Feb 2004 21:19:35 +0000 (21:19 +0000)]
Ugh. Don't try to free ints, even if they're stored in pointers.

Mon Feb  9 22:22:19 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes):
Ugh. Don't try to free ints, even if they're stored in pointers.

22 years agoFix #132256.
Federico Mena Quintero [Mon, 9 Feb 2004 20:31:38 +0000 (20:31 +0000)]
Fix #132256.

2004-02-09  Federico Mena Quintero  <federico@ximian.com>

Fix #132256.

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_get_paths): Read the contents of the
filename entry in both OPEN and SAVE mode.  In multiple-selection
mode, add this to the selection from the file/folder list.
(struct get_paths_closure): Add a path_from_entry field.
(get_paths_foreach): Only add the iterated path if it is not the
same as the path from the entry.

22 years agoIf the folder is already open, add the requested info types to it.
Federico Mena Quintero [Mon, 9 Feb 2004 19:01:25 +0000 (19:01 +0000)]
If the folder is already open, add the requested info types to it.

2004-02-09  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): If
the folder is already open, add the requested info types to it.

22 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Mon, 9 Feb 2004 14:35:18 +0000 (14:35 +0000)]
Translation updated by Tino Meinen.

2004-02-09  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

22 years ago*** empty log message ***
Denis Lackovic [Mon, 9 Feb 2004 14:14:04 +0000 (14:14 +0000)]
*** empty log message ***

22 years agoUpdated Maori translation by John C Barstow <jbowtie@amathaine.com>.
Christian Rose [Mon, 9 Feb 2004 13:20:50 +0000 (13:20 +0000)]
Updated Maori translation by John C Barstow <jbowtie@amathaine.com>.

2004-02-09  Christian Rose  <menthos@menthos.com>

* po/mi.po, po-properties/mi.po: Updated Maori translation by
John C Barstow <jbowtie@amathaine.com>.

22 years ago*** empty log message ***
Denis Lackovic [Mon, 9 Feb 2004 09:00:32 +0000 (09:00 +0000)]
*** empty log message ***

22 years agodeclare _xdg_utf8_skip as extern to prevent multiple definitions.
Manish Singh [Mon, 9 Feb 2004 03:06:22 +0000 (03:06 +0000)]
declare _xdg_utf8_skip as extern to prevent multiple definitions.

Sun Feb  8 19:05:16 2004  Manish Singh  <yosh@gimp.org>

        * xdgmimeint.h: declare _xdg_utf8_skip as extern to prevent multiple
        definitions.

22 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Sun, 8 Feb 2004 21:51:18 +0000 (21:51 +0000)]
Updated Spanish translation.

2004-02-08  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

22 years agoUpdated Swedish translation.
Christian Rose [Sun, 8 Feb 2004 20:11:45 +0000 (20:11 +0000)]
Updated Swedish translation.

2004-02-08  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

22 years agoUpdated French translation.
Christophe Merlet [Sun, 8 Feb 2004 16:12:52 +0000 (16:12 +0000)]
Updated French translation.

22 years agoUpdated Italian translation by Alessio Dessi`.
Alessio Frusciante [Sun, 8 Feb 2004 15:21:06 +0000 (15:21 +0000)]
Updated Italian translation by Alessio Dessi`.

22 years agoUpdated Korean translation.
Changwoo Ryu [Sun, 8 Feb 2004 11:06:48 +0000 (11:06 +0000)]
Updated Korean translation.

* ko.po: Updated Korean translation.

22 years ago*** empty log message ***
Denis Lackovic [Sun, 8 Feb 2004 09:34:58 +0000 (09:34 +0000)]
*** empty log message ***

22 years agoAdd appropriate type casts for the gtk_window_set_screen() call.
Manish Singh [Sun, 8 Feb 2004 09:29:11 +0000 (09:29 +0000)]
Add appropriate type casts for the gtk_window_set_screen() call.

Sun Feb  8 01:28:02 2004  Manish Singh  <yosh@gimp.org>

        * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Add appropriate
        type casts for the gtk_window_set_screen() call.

22 years agoremoved unnecessary G_OBJECT() cast checks.
Manish Singh [Sun, 8 Feb 2004 09:13:18 +0000 (09:13 +0000)]
removed unnecessary G_OBJECT() cast checks.

Sun Feb  8 01:07:20 2004  Manish Singh  <yosh@gimp.org>

        * gdk-pixbuf-io.c: removed unnecessary G_OBJECT() cast checks.

        * io-jpeg.c: make the return type for to_callback_empty_output_buffer
        "boolean", which should be defined by the jpeg headers. The right
        return type for this function depends on how the jpeg library
        was built (one wonders what happens if different compilers are used).

22 years agoMake popups come up on the same screen as the combo box. (#133544, Morten
Matthias Clasen [Sun, 8 Feb 2004 00:42:59 +0000 (00:42 +0000)]
Make popups come up on the same screen as the combo box. (#133544, Morten

Sun Feb  8 01:44:06 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Make popups
come up on the same screen as the combo box.  (#133544,
Morten Welinder)

22 years agoclean up the packing of the file selector.
Jonathan Blandford [Sat, 7 Feb 2004 17:28:36 +0000 (17:28 +0000)]
clean up the packing of the file selector.

Fri Feb  6 23:40:24 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkfilechooserdefault.c (create_file_list): clean up the
        packing of the file selector.

22 years agoUpdated Albanian translation
Laurent Dhima [Sat, 7 Feb 2004 11:56:42 +0000 (11:56 +0000)]
Updated Albanian translation

* sq.po: Updated Albanian translation

22 years agoUpdated
Laurent Dhima [Sat, 7 Feb 2004 11:55:27 +0000 (11:55 +0000)]
Updated

22 years ago*** empty log message ***
Denis Lackovic [Sat, 7 Feb 2004 07:11:47 +0000 (07:11 +0000)]
*** empty log message ***

22 years agoDon't use function calls in array initializers, as some compilers seem to
Matthias Clasen [Sat, 7 Feb 2004 00:21:37 +0000 (00:21 +0000)]
Don't use function calls in array initializers, as some compilers seem to

Sat Feb  7 01:21:09 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreemodel.c (gtk_tree_model_base_init): Don't use function
calls in array initializers, as some compilers seem to hate this.
(#133216, Jonas Jonsson)

22 years agoAdd change notification for GtkAccelMap, by on-demand instantiating a
Matthias Clasen [Fri, 6 Feb 2004 23:37:00 +0000 (23:37 +0000)]
Add change notification for GtkAccelMap, by on-demand instantiating a

Sat Feb  7 00:06:44 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkaccelmap.[hc]: Add change notification for GtkAccelMap,
by on-demand instantiating a singleton object with a "changed"
signal.

* gtk/gtkmarshalers.list (VOID:STRING,UINT,FLAGS): Add marshaller
for GtkAccelMap::changed.

22 years agoUpdated Norwegian translation.
Kjartan Maraas [Fri, 6 Feb 2004 23:09:04 +0000 (23:09 +0000)]
Updated Norwegian translation.

2004-02-07  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian translation.

22 years agoActually free the lists. Pointed out by Morten Welinder.
Matthias Clasen [Fri, 6 Feb 2004 22:25:01 +0000 (22:25 +0000)]
Actually free the lists. Pointed out by Morten Welinder.

Fri Feb  6 23:08:29 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktextbtree.c (_gtk_text_btree_check):
* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_clear_attributes):
* gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes):
Actually free the lists. Pointed out by Morten Welinder.

22 years agoComplete the previous commit
Matthias Clasen [Fri, 6 Feb 2004 21:53:28 +0000 (21:53 +0000)]
Complete the previous commit

22 years agoHandle character positions in UTF-8 strings correctly. (#133315, Theppitak
Matthias Clasen [Fri, 6 Feb 2004 21:47:37 +0000 (21:47 +0000)]
Handle character positions in UTF-8 strings correctly. (#133315, Theppitak

Fri Feb  6 22:38:54 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombo.c (gtk_combo_entry_key_press): Handle character
positions in UTF-8 strings correctly.  (#133315, Theppitak
Karoonboonyanan)

22 years agoCleanup using gtk_menu_attach_to_widget. Also fixes leak, see #133411.
Morten Welinder [Fri, 6 Feb 2004 21:18:50 +0000 (21:18 +0000)]
Cleanup using gtk_menu_attach_to_widget. Also fixes leak, see #133411.

2004-02-06  Morten Welinder  <terra@gnome.org>

* gtk/gtktoolbar.c (show_menu): Cleanup using
gtk_menu_attach_to_widget.  Also fixes leak, see #133411.

22 years agoUpdate Czech translation
Miloslav Trmac [Fri, 6 Feb 2004 17:35:58 +0000 (17:35 +0000)]
Update Czech translation

22 years agoFree the list. Fixes #133546.
Federico Mena Quintero [Fri, 6 Feb 2004 16:21:39 +0000 (16:21 +0000)]
Free the list. Fixes #133546.

2004-02-06  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (shortcuts_add_volumes): Free the
list.  Fixes #133546.

22 years agoFix #132327.
Federico Mena Quintero [Fri, 6 Feb 2004 16:15:01 +0000 (16:15 +0000)]
Fix #132327.

2004-02-06  Federico Mena Quintero  <federico@ximian.com>

Fix #132327.

* gtk/gtkfilesystemunix.c (struct _GtkFileSystemUnix): Add a
folder_hash field to keep a list of live folder objects.
(gtk_file_system_unix_init): Create the folder_hash.
(gtk_file_system_unix_finalize): Destroy the folder_hash.
(gtk_file_system_unix_get_folder): Ref and return an existing
folder if we have it around, otherwise return a new folder object.
(struct _GtkFileFolderUnix): Add a field for the parent file system.
(gtk_file_folder_unix_finalize): Remove the folder from the file
system's hash table.
(gtk_file_system_unix_create_folder):  Emit "files-added" on the
newly-created folder's parent.  Fixes #132327.

22 years agoUpdated Polish translation by GNOME PL Team.
Artur Flinta [Fri, 6 Feb 2004 07:28:26 +0000 (07:28 +0000)]
Updated Polish translation by GNOME PL Team.

2004-02-06  Artur Flinta  <aflinta@cvs.gnome.org>

* pl.po: Updated Polish translation by GNOME PL Team.

22 years agoChange the labels of the ZOOM_100 and ZOOM_FIT stock items to "_Normal
Matthias Clasen [Thu, 5 Feb 2004 23:50:07 +0000 (23:50 +0000)]
Change the labels of the ZOOM_100 and ZOOM_FIT stock items to "_Normal

Fri Feb  6 00:51:57 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkstock.c (builtin_items): Change the labels of the
ZOOM_100 and ZOOM_FIT stock items to "_Normal Size" and
"Best _Fit", to be HIG compliant.  (#124080, Mariano
Suárez-Alvarez)

22 years agoAdd a finalize function to plug a few memory leaks. (#133544, Morten
Matthias Clasen [Thu, 5 Feb 2004 23:45:21 +0000 (23:45 +0000)]
Add a finalize function to plug a few memory leaks. (#133544, Morten

Fri Feb  6 00:45:16 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_finalize): Add a finalize
function to plug a few memory leaks.  (#133544, Morten Welinder)

22 years agoSupport mnemonic_activate here as well.
Matthias Clasen [Thu, 5 Feb 2004 23:14:37 +0000 (23:14 +0000)]
Support mnemonic_activate here as well.

Fri Feb  6 00:15:38 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_mnemonic_activate):
Support mnemonic_activate here as well.

* gtk/gtkcombobox.c (gtk_combo_box_mnemonic_activate): Focus
the button, not the tree_view.

22 years agoUpdated Portuguese translation.
Duarte Loreto [Thu, 5 Feb 2004 23:00:25 +0000 (23:00 +0000)]
Updated Portuguese translation.

2004-02-05  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

22 years agoAdd this function, to make mnemonic_activate work for combo boxes.
Matthias Clasen [Thu, 5 Feb 2004 22:46:22 +0000 (22:46 +0000)]
Add this function, to make mnemonic_activate work for combo boxes.

Thu Feb  5 23:48:19 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_mnemonic_activate): Add this
function, to make mnemonic_activate work for combo boxes.
(#133443, Paolo Borelli)

22 years agoUpdated Finnish translation.
Pauli Virtanen [Thu, 5 Feb 2004 22:09:57 +0000 (22:09 +0000)]
Updated Finnish translation.

2004-02-05  Pauli Virtanen  <pauli.virtanen@hut.fi>

* fi.po: Updated Finnish translation.

22 years agoTranslation updated.
Mətin Əmirov [Thu, 5 Feb 2004 21:23:54 +0000 (21:23 +0000)]
Translation updated.

2004-02-05  Mətin Əmirov  <metin@karegen.com>

* az.po: Translation updated.

22 years agoUpdated Albanian translation
Laurent Dhima [Thu, 5 Feb 2004 21:19:07 +0000 (21:19 +0000)]
Updated Albanian translation

* sq.po: Updated Albanian translation

22 years agoUpdated
Laurent Dhima [Thu, 5 Feb 2004 21:17:55 +0000 (21:17 +0000)]
Updated

22 years agoInitialize result to FALSE. (#133539, Morten Welinder)
Matthias Clasen [Thu, 5 Feb 2004 21:03:13 +0000 (21:03 +0000)]
Initialize result to FALSE. (#133539, Morten Welinder)

Thu Feb  5 22:05:52 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkfilesystemunix.c (bookmark_list_read): Initialize result
to FALSE.  (#133539, Morten Welinder)

22 years agoFix the logic of the depth one check. (#133488, Christian Persch)
Matthias Clasen [Thu, 5 Feb 2004 20:35:57 +0000 (20:35 +0000)]
Fix the logic of the depth one check. (#133488, Christian Persch)

Thu Feb  5 21:36:43 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_set_active_iter): Fix the logic
of the depth one check.  (#133488, Christian Persch)

22 years agoru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Dmitry Mastrukov [Thu, 5 Feb 2004 13:54:00 +0000 (13:54 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.

22 years agoRemoved modules/input/imhangul.c; it's not present anymore. Updated
Christian Rose [Thu, 5 Feb 2004 09:11:31 +0000 (09:11 +0000)]
Removed modules/input/imhangul.c; it's not present anymore. Updated

2004-02-05  Christian Rose  <menthos@menthos.com>

* POTFILES.in: Removed modules/input/imhangul.c; it's not present
anymore.
* sv.po: Updated Swedish translation.

22 years agoUpdated Swedish translation.
Christian Rose [Thu, 5 Feb 2004 09:01:56 +0000 (09:01 +0000)]
Updated Swedish translation.

2004-02-05  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

22 years agoFix the drawing of tearoff menu items which don't come first in their
Matthias Clasen [Thu, 5 Feb 2004 00:49:50 +0000 (00:49 +0000)]
Fix the drawing of tearoff menu items which don't come first in their

Thu Feb  5 01:50:19 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktearoffmenuitem.c (gtk_tearoff_menu_item_paint): Fix
the drawing of tearoff menu items which don't come first in their
menu.  (#33311)

22 years agoUse g_completion_complete_utf8(). (#133313, Theppitak Karoonboonyanan)
Matthias Clasen [Thu, 5 Feb 2004 00:01:56 +0000 (00:01 +0000)]
Use g_completion_complete_utf8(). (#133313, Theppitak Karoonboonyanan)

Thu Feb  5 00:59:08 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombo.c (gtk_combo_entry_key_press): Use
g_completion_complete_utf8(). (#133313, Theppitak Karoonboonyanan)

22 years agoFix #59707.
Federico Mena Quintero [Wed, 4 Feb 2004 21:55:33 +0000 (21:55 +0000)]
Fix #59707.

2004-02-04  Federico Mena Quintero  <federico@ximian.com>

Fix #59707.

* gtk/gtklabel.c (gtk_label_focus): Removed, so we don't ignore
the focus chain.
(gtk_label_button_press): Fix prototype.
(gtk_label_button_release): Likewise.
(gtk_label_motion): Likewise.

* tests/testgtk.c (create_message_dialog): For the dialog with
only GTK_BUTTONS_CLOSE, make GTK_RESPONSE_CLOSE the default.

22 years agoShow on the right screen. (Fixes bug 133411, apart from the leak.)
Morten Welinder [Wed, 4 Feb 2004 21:17:54 +0000 (21:17 +0000)]
Show on the right screen. (Fixes bug 133411, apart from the leak.)

2004-02-04  Morten Welinder  <terra@gnome.org>

* gtk/gtktoolbar.c (show_menu): Show on the right screen.  (Fixes
bug 133411, apart from the leak.)

22 years agopass value in last in g_object_new, since it depends on lower and upper
Manish Singh [Tue, 3 Feb 2004 21:43:10 +0000 (21:43 +0000)]
pass value in last in g_object_new, since it depends on lower and upper

Tue Feb  3 13:39:27 2004  Manish Singh  <yosh@gimp.org>

        * gtk/gtkadjustment.c (gtk_adjustment_new): pass value in last
        in g_object_new, since it depends on lower and upper being set.

22 years agoMake the window not resizable. Fixes #114032.
Federico Mena Quintero [Tue, 3 Feb 2004 20:46:52 +0000 (20:46 +0000)]
Make the window not resizable. Fixes #114032.

2004-02-03  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkmessagedialog.c (gtk_message_dialog_init): Make the
window not resizable.  Fixes #114032.

22 years agoAdd documentation for the use_separator style property.
Federico Mena Quintero [Tue, 3 Feb 2004 20:04:33 +0000 (20:04 +0000)]
Add documentation for the use_separator style property.

2004-02-03  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkmessagedialog.c (gtk_message_dialog_class_init): Add
documentation for the use_separator style property.

22 years agoFix #68938.
Federico Mena Quintero [Tue, 3 Feb 2004 19:46:43 +0000 (19:46 +0000)]
Fix #68938.

2004-02-03  Federico Mena Quintero  <federico@ximian.com>

Fix #68938.

* gtk/gtkdialog.c (GtkDialogPrivate): New private structure for
GtkDialog; right now it only contains an ignore_separator field.
(gtk_dialog_class_init): Register the private structure.
(gtk_dialog_init): Initialize the priv->ignore_separator field.
(_gtk_dialog_set_ignore_separator): New private function.
(gtk_dialog_set_has_separator): Ignore the setting if appropriate.

* gtk/gtkmessagedialog.c (gtk_message_dialog_class_init): Add a
use_separator style property.
(gtk_message_dialog_style_set): Change the dialog's separator
based on the style property.
(gtk_message_dialog_init): Set the dialog box to ignore the
separator setting.

22 years agoUpdate Czech translation
Miloslav Trmac [Tue, 3 Feb 2004 16:49:55 +0000 (16:49 +0000)]
Update Czech translation

22 years agoBuild filesystemwin32.c if OS_WIN32 and also dist gtkfilesystemwin32.[hc].
Matthias Clasen [Tue, 3 Feb 2004 01:32:07 +0000 (01:32 +0000)]
Build filesystemwin32.c if OS_WIN32 and also dist gtkfilesystemwin32.[hc].

Tue Feb  3 02:35:09 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/Makefile.am: Build filesystemwin32.c if OS_WIN32 and
also dist gtkfilesystemwin32.[hc].

22 years agoBuild filesystemwin32.c if OS_WIN32.
Matthias Clasen [Tue, 3 Feb 2004 01:30:16 +0000 (01:30 +0000)]
Build filesystemwin32.c if OS_WIN32.

Tue Feb  3 02:32:52 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/Makefile.am: Build filesystemwin32.c if OS_WIN32.

22 years agoRight-justify labels in rtl mode. (#129071, chinen@jp.ibm.com)
Matthias Clasen [Tue, 3 Feb 2004 01:03:56 +0000 (01:03 +0000)]
Right-justify labels in rtl mode. (#129071, chinen@jp.ibm.com)

Tue Feb  3 02:04:44 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtklabel.c (gtk_label_ensure_layout): Right-justify labels
in rtl mode.  (#129071, chinen@jp.ibm.com)

Tue Feb  3 02:01:25 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Exchange the
meaning GTK_MENU_DIR_PARENT/CHILD and GTK_MENU_DIR_PREV/NEXT in rtl
mode.  (#107528)

22 years agoClip narrow columns in rtl-oriented tree views (#128089,
Matthias Clasen [Tue, 3 Feb 2004 00:40:56 +0000 (00:40 +0000)]
Clip narrow columns in rtl-oriented tree views (#128089,

Tue Feb  3 01:38:06 2004  Matthias Clasen  <maclas@gmx.de>

Clip narrow columns in rtl-oriented tree views (#128089,
chinen@jp.ibm.com):

* gtk/gtkstyle.c (gtk_default_draw_option):
* gtk/gtkstyle.c (gtk_default_draw_check): Clip to the
given area.

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
Use the right clip area when calling gtk_cell_renderer_render().
* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_cell_draw_focus):
Use the right clip area when calling gtk_paint_focus().
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
Use the right clip area when calling gtk_paint_toggle() or
gtk_paint_check().
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render):
Clip to the expose_area when drawing the background rectangle.

22 years agoUse a weak reference instead of ref()/unref(). (#60857, reported by Joshua
Soeren Sandmann [Mon, 2 Feb 2004 23:26:55 +0000 (23:26 +0000)]
Use a weak reference instead of ref()/unref(). (#60857, reported by Joshua

Tue Feb  3 00:14:36 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gdk/x11/gdkgeometry-x11.c (queue_item_free, gdk_window_queue):
Use a weak reference instead of ref()/unref(). (#60857, reported
by Joshua N Pritikin)

* gdk/gdkimage.c (scratch_image_info_for_depth): Formatting fix.

22 years agoAdd init_hadjust_value and prev_width. Initialize them here. ...and here.
Matthias Clasen [Mon, 2 Feb 2004 23:20:42 +0000 (23:20 +0000)]
Add init_hadjust_value and prev_width. Initialize them here. ...and here.

Tue Feb  3 00:15:17 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): Add
init_hadjust_value and prev_width.
* gtk/gtktreeview.c (gtk_tree_view_init): Initialize
them here.
* gtk/gtktreeview.c (gtk_tree_view_update_size): ...and here.
* gtk/gtktreeview.c (gtk_tree_view_size_allocate): Use them
here to properly handle the initial position of rtl-oriented
tree views.  (#127581, chinen@jp.ibm.com)

22 years agoUpdated Norwegian translation.
Kjartan Maraas [Mon, 2 Feb 2004 23:04:41 +0000 (23:04 +0000)]
Updated Norwegian translation.

2004-02-03  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian translation.

2004-02-02  Pablo Saratxaga  <pablo@mandrakesoft.com>

22 years agoFix #130846, reported by R. McFarland <rwmcfa1@neces.com>.
Federico Mena Quintero [Mon, 2 Feb 2004 22:53:02 +0000 (22:53 +0000)]
Fix #130846, reported by R. McFarland <rwmcfa1@neces.com>.

2004-01-20  Federico Mena Quintero  <federico@ximian.com>

Fix #130846, reported by R. McFarland <rwmcfa1@neces.com>.

* gtk/gtktreeview.c (gtk_tree_view_button_press): Return TRUE when
we handle an event in the colums, and FALSE at the end if the
event is not handled at all.

22 years agoDon't access the level after removing the node, since that may kill the
Matthias Clasen [Mon, 2 Feb 2004 22:44:05 +0000 (22:44 +0000)]
Don't access the level after removing the node, since that may kill the

Mon Feb  2 23:41:48 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed):
Don't access the level after removing the node, since that may
kill the level.  (#132615, Crispin Flowerday)

22 years agoSet the cursor in all cases. If no grab cursor specified, use the grabbing
Tor Lillqvist [Mon, 2 Feb 2004 22:26:15 +0000 (22:26 +0000)]
Set the cursor in all cases. If no grab cursor specified, use the grabbing

2004-02-02  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Set the cursor
in all cases. If no grab cursor specified, use the grabbing
window's cursor. If the grabbing window has no cursor, use the
default arrow cursor. (#118025)

22 years agoThe latest in menu separation technology.
Matthias Clasen [Mon, 2 Feb 2004 21:06:49 +0000 (21:06 +0000)]
The latest in menu separation technology.

Mon Feb  2 22:05:36 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkseparatormenuitem.c (gtk_separator_menu_item_init): The
latest in menu separation technology.

22 years agoAssume gravity works. (Anything else we have to take our chances with).
Soeren Sandmann [Mon, 2 Feb 2004 18:18:18 +0000 (18:18 +0000)]
Assume gravity works. (Anything else we have to take our chances with).

Mon Feb  2 19:04:17 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gdk/x11/gdkwindow-x11.c: Assume gravity works. (Anything else
we have to take our chances with).

(Bug 97510)

22 years agoRemove unused variable 'result'
Soeren Sandmann [Mon, 2 Feb 2004 18:01:27 +0000 (18:01 +0000)]
Remove unused variable 'result'

Mon Feb  2 18:45:28 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gdk/x11/gdkfont-x11.c (gdk_font_from_description_for_display):
Remove unused variable 'result'

* gdk/x11/xsettings-client.[ch]: Add new set_grab/ungrab_func() functions.

* gdk/x11/gdkevents-x11.c (_gdk_x11_events_init_screen): Use them here

22 years agoChanged default for Uzbek (now just "uz" is cyrillic, and "uz@Latn" for latin;
Pablo Saratxaga [Mon, 2 Feb 2004 13:28:05 +0000 (13:28 +0000)]
Changed default for Uzbek (now just "uz" is cyrillic, and "uz@Latn" for latin;
to match current practice of KDE translation)

22 years agoUpdated Irish translation
Alastair McKinstry [Mon, 2 Feb 2004 09:58:10 +0000 (09:58 +0000)]
Updated Irish translation

22 years agoUpdated Irish translation
Alastair McKinstry [Mon, 2 Feb 2004 08:23:12 +0000 (08:23 +0000)]
Updated Irish translation

22 years agoUpdated Polish translation by GNOME PL Team.
Artur Flinta [Mon, 2 Feb 2004 07:13:15 +0000 (07:13 +0000)]
Updated Polish translation by GNOME PL Team.

2004-02-02  Artur Flinta  <aflinta@cvs.gnome.org>

* pl.po: Updated Polish translation by GNOME PL Team.

22 years agoUpdated Albanian translation
Laurent Dhima [Mon, 2 Feb 2004 00:49:44 +0000 (00:49 +0000)]
Updated Albanian translation

* sq.po: Updated Albanian translation

22 years agoUpdated
Laurent Dhima [Mon, 2 Feb 2004 00:47:05 +0000 (00:47 +0000)]
Updated

22 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Mon, 2 Feb 2004 00:24:53 +0000 (00:24 +0000)]
Translation updated by Tino Meinen.

2004-02-02  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

22 years agoUpdated Portuguese translation.
Duarte Loreto [Sun, 1 Feb 2004 16:47:13 +0000 (16:47 +0000)]
Updated Portuguese translation.

2004-02-01  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

22 years agoUpdated Serbian translation.
Danilo Šegan [Sun, 1 Feb 2004 15:45:42 +0000 (15:45 +0000)]
Updated Serbian translation.

22 years agoOnly start sliding when using the new API.
Soeren Sandmann [Sun, 1 Feb 2004 15:36:22 +0000 (15:36 +0000)]
Only start sliding when using the new API.

Sun Feb  1 16:34:07 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Only start
sliding when using the new API.

22 years agoMake sure item_area is positioned correctly. Fix #133070, reported by
Soeren Sandmann [Sun, 1 Feb 2004 15:18:32 +0000 (15:18 +0000)]
Make sure item_area is positioned correctly. Fix #133070, reported by

Sun Feb  1 16:03:39 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Make sure
item_area is positioned correctly. Fix #133070, reported by Jeroen
Zwartepoorte.

22 years agoUpdated German translation.
Christian Neumair [Sun, 1 Feb 2004 10:54:52 +0000 (10:54 +0000)]
Updated German translation.

22 years agoRemove misleading documentation for gtk_object_set_user_data(). (#101614)
Matthias Clasen [Sat, 31 Jan 2004 23:35:21 +0000 (23:35 +0000)]
Remove misleading documentation for gtk_object_set_user_data(). (#101614)

Sun Feb  1 00:37:44 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/tmpl/gtkobject.sgml: Remove misleading documentation for
gtk_object_set_user_data().  (#101614)

22 years agoImprove the documentation of event_mask for gdk_pointer_grab. (#132223,
Matthias Clasen [Sat, 31 Jan 2004 23:28:31 +0000 (23:28 +0000)]
Improve the documentation of event_mask for gdk_pointer_grab. (#132223,

Sun Feb  1 00:30:53 2004  Matthias Clasen  <maclas@gmx.de>

* gdk/tmpl/general.sgml: Improve the documentation of event_mask for
gdk_pointer_grab.  (#132223, Pascal Haakmat)

22 years agoUpdated Mongolian translation
Sanlig Badral [Sat, 31 Jan 2004 22:17:48 +0000 (22:17 +0000)]
Updated Mongolian translation

22 years agoDon't crash when finalizing an unused GtkTextChildAnchor. (#132260,
Matthias Clasen [Sat, 31 Jan 2004 22:11:07 +0000 (22:11 +0000)]
Don't crash when finalizing an unused GtkTextChildAnchor. (#132260,

Sat Jan 31 23:13:43 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktextchild.c (gtk_text_child_anchor_finalize): Don't
crash when finalizing an unused GtkTextChildAnchor.  (#132260,
muppet)

22 years agoAdded Mongolian translation
Sanlig Badral [Sat, 31 Jan 2004 22:05:39 +0000 (22:05 +0000)]
Added Mongolian translation

22 years agoCorrect the documentation for new_order. (#124790, Tim-Philipp Müller)
Matthias Clasen [Sat, 31 Jan 2004 21:42:28 +0000 (21:42 +0000)]
Correct the documentation for new_order. (#124790, Tim-Philipp Müller)

* gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Correct
the documentation for new_order.  (#124790, Tim-Philipp Müller)

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width):
Reset use_resized_width when setting fixed_width.  (#108612,
Felipe Heidrich)